package org.setaria.event
{
	import org.setaria.control.ButtonBarButton;

	public class TabBarEvent extends SetariaEvent
	{
		public static const EVENT_CLICK_CLOSE_BUTTON:String = "clickCloseButton";
		public static const EVENT_SELECT_ITEM:String = "selectItem";
		
		public var data:Object;
		public var index:int;
		
		public function TabBarEvent(type:String,data:Object,index:int, bubbles:Boolean=false, cancelable:Boolean=false)
		{
			super(type, bubbles, cancelable);
			this.data = data;
			this.index = index;
		}
	}
}